package cn.gson.springboot.model.mapper;

import cn.gson.springboot.model.pojos.InvoiceRecord;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component("invoiceRecordMapper")
public interface InvoiceRecordMapper {
    /*public List<InvoiceRecord> selectEmpInvoiceRecord(Integer deptId);*/

    public List<InvoiceRecord> selectEmpInvoiceRecordByType(Integer deptId, Integer invoicerecordType);

    public List<InvoiceRecord> selectEmpInvoiceRecordByBack(Integer deptId, Integer invoicerecordBack);

    public List<InvoiceRecord> selectEmpInvoiceRecordByDate(Integer deptId, String invoicerecordDate);

    public List<InvoiceRecord> selectEmpInvoiceRecordByNumber(Integer deptId, String invoicerecordNo);

    public List<InvoiceRecord> selectEmpInvoiceRecordByCusName(Integer deptId, String customerName);

    public List<InvoiceRecord> selectBackInvoiceByConId(Integer conId);

    public List<InvoiceRecord> selectEmpInvoiceRecord(int deptId, int empId, Integer value, Integer num, Integer vague, String content);
}
